﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="BijzondereKaart.aspx.cs" Inherits="BijzondereKaart" EnableSessionState="True" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .style3
        {
            width: 366px;
        }
        .style5
        {
            text-align: left;
            width: 237px;
            padding-left: 20%;
        }
        .style6
        {
            text-align: left;
            width: 366px;
            padding-left: 20%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="KopContent" runat="Server">
Bijzondere kaart verkoop
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentLeft" runat="Server">
    <div class="bijzkaart">
        <div class="bijzkaartBt">
            <table>
                <tr>
                    <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="BijzKaarten_ItemCommand">
                        <ItemTemplate>
                            <td>
                                <asp:Button ID="bijzKaartBt" runat="server" SkinID="bijzButton" Text='<%#DataBinder.Eval(Container.DataItem,"[0]") %>'
                                    CommandName='<%#DataBinder.Eval(Container.DataItem,"[0]") %>' CommandArgument='<%#DataBinder.Eval(Container.DataItem,"[0]") %>'
                                    ClientIDMode="Predictable" CausesValidation="False" />
                            </td>
                        </ItemTemplate>
                    </asp:Repeater>
                </tr>
            </table>
        </div>
        <div class="bijzkaartSpec">
            <asp:Panel ID="Panel1" runat="server" Visible="false">
                <div class="regItem" runat="server">
                    <div class="regNaam" runat="server">
                        <h1>
                            Kopen
                        </h1>
                    </div>
                    <div class="regTekst" runat="server">
                        <table style="padding-left:10px">
                            <tr>
                                <td class="style6">
                                    Voornaam:
                                </td>
                                <td>
                                    <asp:TextBox ID="Voornaam" runat="server" MaxLength="55" Width="170px"></asp:TextBox>
                                </td>
                                <td>
                                    *
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Voornaam"
                                        ErrorMessage="Voornaam verplicht" ForeColor="Yellow" Display="None"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style6">
                                    Achternaam:
                                </td>
                                <td>
                                    <asp:TextBox ID="Achternaam" runat="server" MaxLength="55" Width="170px"></asp:TextBox>
                                </td>
                                <td>
                                    *
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Achternaam"
                                        ErrorMessage="Achternaam verplicht" ForeColor="Yellow" Display="None"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="style6">
                                    E-mailadres:
                                </td>
                                <td>
                                    <asp:TextBox ID="Email" runat="server" MaxLength="55" Width="170px"></asp:TextBox>
                                </td>
                                <td>
                                    *
                                </td>
                                <td>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="Email"
                                        ErrorMessage="E-mailadres verplicht" ForeColor="Yellow" Display="None"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Email"
                                        Display="None" ErrorMessage="E-mailadres niet correct!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <asp:Panel ID="tegoed" runat="server" Visible="false" CssClass="panel">
                                <tr>
                                    <td style="padding-left:110px">
                                        Tegoed:
                                    </td>
                                    <td>
                                        €<asp:TextBox ID="Tegoedtxt" runat="server" MaxLength="55" Width="70px"></asp:TextBox>
                                    </td>
                                    <td>
                                        *
                                    </td>
                                    <td>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="Tegoedtxt"
                                            ErrorMessage="Tegoed invullen verplicht" ForeColor="Yellow" Display="None"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="Email"
                                            Display="None" ErrorMessage="Vul een bedrag bij tegoed in!" ValidationExpression="^\d+$"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                            </asp:Panel>
                            <asp:Panel ID="abo" runat="server" Visible="false">
                                <tr>
                                    <td style="padding-left:110px">
                                        Duur:
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="drdGeldig" runat="server">
                                        <asp:ListItem>Maand</asp:ListItem>
                                        <asp:ListItem>Half jaar</asp:ListItem>
                                        <asp:ListItem>Jaar</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td>
                                        *
                                    </td>
                                </tr>
                            </asp:Panel>
                        </table>
                        <br />
                        <asp:Button ID="btPrint" runat="server" Text="Printen" Font-Size="X-Large" 
                            Width="100" Height="60" onclick="btPrint_Click"/>
                            &nbsp;
                         <asp:Button ID="Button1" runat="server" Text="Reset" Font-Size="X-Large" 
                            Width="100" Height="60"  CausesValidation="false" onclick="Button1_Click"/>
                        <p><asp:Label ID="lbPrint" runat="server" Visible="false"></asp:Label></p>
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" Font-Bold="True" ForeColor="Yellow" />
                    </div>
                </div>
            </asp:Panel>
        </div>
    </div>
</asp:Content>
